From f7abab3a59acc55a0086d0f032f913bd8f1298c1 Mon Sep 17 00:00:00 2001 From: "emellor@leeni.uk.xensource.com" Date: Mon, 21 Nov 2005 14:48:10 +0100 Subject: [PATCH] Replace initialiser for readonly parameter in xshandle_init that should never have been deleted. Signed-off-by: Ewan Mellor --- tools/python/xen/lowlevel/xs/xs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/lowlevel/xs/xs.c b/tools/python/xen/lowlevel/xs/xs.c index 01679b3de9..0b623a6a8f 100644 --- a/tools/python/xen/lowlevel/xs/xs.c +++ b/tools/python/xen/lowlevel/xs/xs.c @@ -815,7 +815,7 @@ xshandle_init(XsHandle *self, PyObject *args, PyObject *kwds) { static char *kwd_spec[] = { "readonly", NULL }; static char *arg_spec = "|i"; - int readonly; + int readonly = 0; if (!PyArg_ParseTupleAndKeywords(args, kwds, arg_spec, kwd_spec, &readonly)) -- 2.30.2